
<?php
include("connectDB.php");

if($_GET['sv_ID']!= NULL){
		$sv_ID=$_GET['sv_ID'];
		$sql= "DELETE FROM `sinhvien` WHERE `masv` = $sv_ID";	
				
	if(mysql_query($sql))
	{

?>
<script language = "javascript">
alert("ban da xoa thanh cong");
self.location = "./?mod=sinhvien&do=dssv";
</script>
<?php
	}
	else
	{
?>
<script language = "javascript">
alert("xóa khong thanh cong");
self.location = "./?mod=sinhvien&do=dssv";
</script>
<?php
	}
}
?>
